[gi] annotate gdk_container_set_user_data to take a GObject
authorJohn (J5) Palmieri <johnp@redhat.com>
Sun, 14 Aug 2011 12:05:28 +0000 (08:05 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Sun, 14 Aug 2011 12:07:10 +0000 (08:07 -0400)
 * this allows bindings to correctly marshal the parameter

gdk/gdkwindow.c

index 71405f3bd33334a59b5b3386ebf0b066e2e7d916..548330c91a733ad7babba714e31c59f5f60e3bbe 100644 (file)
@@ -2043,7 +2043,7 @@ gdk_window_destroy (GdkWindow *window)
 /**
  * gdk_window_set_user_data:
  * @window: a #GdkWindow
- * @user_data: (allow-none): user data
+ * @user_data: (allow-none) (type GObject.Object): user data
  *
  * For most purposes this function is deprecated in favor of
  * g_object_set_data(). However, for historical reasons GTK+ stores